package main.prototype;

/**
 * @author: kejl
 * @create: 2020-07-15 00:01
 */
public class Client {
    public static void main(String[] args) {
        String prototype = "a";
        AbstractPrototype abstractPrototype =   PrototypeManger.getPrototypeManger().getPrototype("a");
        AbstractPrototype abstractPrototype1 =   PrototypeManger.getPrototypeManger().getPrototype("a");
        abstractPrototype.showdisplayname();
        abstractPrototype1.showdisplayname();
        System.out.println(abstractPrototype == abstractPrototype1);


    }
}
